package org.zhucy.design.factory;

import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;

/**
 * @Auther: zhuchunyang
 * @Date: 2019/6/26 16:59
 * @Description:
 */
@RequestScoped
public class AnnotationTest {

    @Inject @Annotation
    private Green green;

    public void sys(){
        green.fill();
    }

    public static void main(String[] args) {
        new AnnotationTest().sys();
    }
}
